Problem Solving 01


Replication of a paper published by Dr. Jessica Goldberg - "Experimental Evidence about Labor Supply in Rural Malawi"

Original paper, published by American Economic Journal in 2016 can be found here


In this session, we work on a paper that analysis labor supply in Malawi in an experimental setting.

Abstract: I use a field experiment to estimate the wage elasticity of employment in the day labor market in rural Malawi. Once a week for 12 consecutive weeks, I make job offers for a workfare-type program to 529 adults. The daily wage varies from the tenth to the ninetieth percentile of the wage distribution, and individuals are entitled to work a maximum of one day per week. In this context (the low agricultural season), 74 percent of individuals worked at the lowest wage, and consequently the estimated labor supply elasticity is low (0.15), regardless of observable characteristics.

The paper uses data collected by the author and her colleagues in Malawi. They randomly offered jobs with different wages to individuals in 10 villages for 12 consecutive weeks and recorded acceptance rates. They used data to estimate the elasticity of labor supply to wage. The variable of interest in this paper is acceptance rate in each village in each week and the explanatory variable is wage.

The other explanatory variables may be variables that distinguish each village from the others.

The main finding of the paper is that in the off-season, the majority of workers accept the job offer at the lowest wage, and the elasticity of labor is low, meaning that the main force of accepting job is probably factors beyond wage.

loading all the neccessary tools needed for the project:

Part 1


loading the dataset

1.a) First, we have to know our variable of interest, acceptance rate, and the main explanatory variable, wage.

By observing dependent variable 'vil_labor' we see that the average acceptance rate among the villages was 84%

By observing independent variable 'wage' we see that the average offered wage among the villages was 85 Malawi Kwacha

1.b) I'll Find the mean and standard deviation of acceptance rate for the 20 observations with the lowest wage, 20 observations with the highest wage.

It is a good idea to compare the acceptance rate for the bottom and upper 20 villages. Based on this observations, even that the mean wage for the top 20 is 286% more than for the bottom (avg. for the top 20 is 135 Kwacha; avg. for the bottom is 35 Kwacha), we see that there is a small gap of 18.66% in acceptance rate between those two groups (93.62% acceptance rate for the top and 74.96% for the bottom)

There is not enough evidence to assume that wages influence if residents of the village accept the job or not

1.c.) Find the correlation coefficient between wage and acceptance rate.

1.d) Let’s draw a scatter-graph to visualize the relationship between wage and job acceptance rate

Let's see if this confirms our assumptions that despite the wage differences, people are still willing to accept the job

Yes! graph confirms that there is a small influence of the wage offered on if villager accepted the job or not.

Part 2:


2.a) We run a regression of wage on acceptance rate.

Our explanatory 'wage' showed to have a strong explanatory power as it's p-value is approx. 0 (which means that we are 99% confident it is statistically significant). Also, explanatory variable shows that offering of an additional 1 Kwacha increases acceptance rate by 0.0017

However, if we look that the R-squared, which is the measure of goodness of fit of our model, we see that our model is the explanation of the outcome only by approx. 12%

2.b) We visualize our results:

2.c) Coefficient for the wage is tiny. I will generate new variable 1000x smaller than wage and use it instead

Now we see that any additional 10 Kwacha increases acceptance rate by 1.7%

2.d) to make sure that our model is a good model we check if sum of the residuals is equal 0.

in both cases we see that they are very very close to 0!

2.e) Now instead of 'wage' we will run regression using 'lnwage' which is interpreted as a percentage change in wage

Here we see that 1% change in the wage changes acceptance rate by 12.42%.

2.f) Now we just manually compute the regression which was used in the study to calculate the elasticity of the wages

regression used in the model is labor = α + β*ln(wage) + e

Even though I used exactly the same model with the same variables from the same dataset my elasticity came to be a little higher than found in the original paper (0.35). This can explain by a small difference in the data. In original data, it appears they got rid of the village which had a 0% acceptance rate (probably there was something happening at that time, so nobody accepted the job), while this data is present in my analysis. However, we still can canclude that findings are somewhat inelastic

Part 3:


3.a) Now in trying to reproduce the other columns of Table 4 of the paper, we would like to calculate two sets of variables called “village effects” and “week effects”. We work only on village effects. Week effects are similar.

After controlling for individual village, we see that effect of a wage on the acceptance rate didn't change, and none of the village variables is statistically significant and the effect on acceptance rate is marginally or non-existence.